//
//  ConfirmBottomView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/13.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "ConfirmBottomView.h"

@implementation ConfirmBottomView

- (id)initWithFrame:(CGRect)aFrame inSuperView:(UIView *)aSuperView{
    if (self = [super initWithFrame:aFrame inSuperView:aSuperView]) {
        self.backgroundColor = [UIColor whiteColor];
        self.bottomBut = [[GLGWButton alloc] initWithFrame:CGRectMake(0, kHeightProportion_In_iPhoneTriploid(40), KScreenWidth, kHeightProportion_In_iPhoneTriploid(44)) hTitle:@"提交求购单" titleLableFont:SYSTEMFONT(16) titleLableColor:[UIColor whiteColor] theCornerRadius:0 backgroundColr:kColor_Rule_Yellow inSuperView:self];
        //
        GLGWButton * agreedBut = [[GLGWButton alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(58), kHeightProportion_In_iPhoneTriploid(10), kWidthProportion_In_iPhoneTriploid(20), kHeightProportion_In_iPhoneTriploid(20)) inSuperView:self];
        agreedBut.backgroundColor = kRandomColor;
        
        GLGWLabel * angrylabel = [[GLGWLabel alloc] initWithFrame:CGRectMake(kX_With_View(agreedBut, 5), agreedBut.y, kWidthProportion_In_iPhoneTriploid(245), kHeightProportion_In_iPhoneTriploid(20)) theFont:SYSTEMFONT(14) theColor:kColor_Rule_Black inSuperView:self];
        angrylabel.attributedText = [GLGWLabel bllChangeStr:@"同意《钢来钢网平台求购单发布协议》" changewithStr:@"《钢来钢网平台求购单发布协议》" changeColoer:kColor_Rule_Yellow withFont:SYSTEMFONT(14)];
    }
    return self;
}

@end
